package com.example.dao;

import com.example.domain.Account;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by crowndint on 2018/10/2.
 */
public interface AccountDao extends JpaRepository<Account, Integer> {

    public List<Account> findAll();

    public Account findAccountById(Integer id);
}
